home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!genesis.demon.co.uk
- From: Lawrence Kirby <fred@genesis.demon.co.uk>
- Newsgroups: comp.lang.c
- Subject: Re: array[index]
- Date: Mon, 01 Apr 96 11:29:10 GMT
- Organization: none
- Message-ID: <828358150snz@genesis.demon.co.uk>
- References: <4jiies$3bh@fnord.dfw.net>
- Reply-To: fred@genesis.demon.co.uk
- X-NNTP-Posting-Host: genesis.demon.co.uk
- X-Newsreader: Demon Internet Simple News v1.27
- X-Mail2News-Path: genesis.demon.co.uk
-
- In article <4jiies$3bh@fnord.dfw.net>
- ftlgeuse@dfw.dfw.net
- "Azazel Diabolus (aka Fetelgeuse" writes:
-
- >On my platform's assembly language a[n] is the same as n[a]; is this also
- >valid in C? Does array[index] give the same address as index[array]? I
- >will try this after I post it but I would like to know if this is
- >something defined by the ANSI standard. Thanks,
-
- Yes, they mean the same thing in C.
-
- --
- -----------------------------------------
- Lawrence Kirby | fred@genesis.demon.co.uk
- Wilts, England | 70734.126@compuserve.com
- -----------------------------------------
-